import { h } from 'vue'
// @ts-ignore
import ModalContent from './ModalContent.vue'
import { Modal } from '@arco-design/web-vue'
import type { QueryResponse } from '@/api/system/file'

export function previewFileVideoModal(data: QueryResponse) {
    return Modal.open({
        title: '视频播放',
        width: 'auto',
        modalStyle: {},
        content: () => h(ModalContent, { data }),
    })
}
